The Limitations of Fixed-Priority Interrupt Handling in PREEMPT RT and Alternative Approaches

نویسندگان

  • Glenn A. Elliott
  • James H. Anderson
چکیده

Threaded interrupt handling is a common technique used in real-time operating systems since it increases system responsiveness and reduces priority inversions. The PREEMPT RT Linux kernel patch introduces aggressive threaded interrupt handling into the Linux kernel. However, under PREEMPT RT, interrupt handling threads must be assigned a single fixed scheduling priority. This can become a significant limitation when an interrupt-generating device is shared by threads of differing priorities. In this paper, we show that there is no good option for assigning a single fixed priority to an interrupt handling thread in such cases. We then survey alternative approaches from academic literature and commercial real-time operating systems to inspire new solutions in PREEMPT RT.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

RT-MINIXv2: Architecture and Interrupt Handling

Tanenbaum’s MINIX operating system [1] was extended by Wainer with Real-Time (RT) services to conform RT-MINIX [2,3]. This work is on RTMINIXv2, a new version for academic uses that includes a RT-microkernel with more flexible IPC facilities supporting basic priority inheritance protocol, a fixed priority scheduler, timer and event driven interrupt management, statistics and RTmetrics collectio...

متن کامل

How fast is fast enough? Choosing between Xenomai and Linux for real-time applications

We needed data to help ourselves and our clients to decide when to expend the extra effort to use a real-time extension such as Xenomai; when it is sufficient to use mainline Linux with the PREEMPT RT patches applied; and when unpatched mainline Linux is sufficient. To gather this data, we set out to compare the performance of three kernels: a baseline Linux kernel; the same kernel with the PRE...

متن کامل

Rational Handling of Multiple Goals for Mobile Robots

The mobile robot planning domain is dynamic, with goals becoming active asynchronously. In order to successfully operate in this environment, a robot must be able to interrupt and reformulate its plans of action on-the-fly. This paper investigates a method for incorporating the accomplishment of a new goal into a partially executed plan. A decision theoretic approach using net present value as ...

متن کامل

Long-term monitoring of apparent latency in PREEMPT RT Linux real-time systems

The real-time wakeup latency tracer (wakeup rt) in conjunction with the wakeup latency histogram (CONFIG WAKEUP LATENCY HIST) is part of the Linux kernel trace subsystem. It monitors processes that have the highest priority of the system throughout their entire wakeup processing and do not share this priority with any other concurrently running or scheduled process. Thus, this tracer should be ...

متن کامل

Interrupt Service Threads - A New Approach to Handle Multiple Hard Real-Time Events on a Multithreaded Microcontroller

We propose a new event handling mechanism based on a multithreaded microcontroller, that allows efficient handling of simultaneous overlapping events with hard realtime requirements. Real-time threads are used as interrupt service threads (ISTs) instead of interrupt service routines (ISRs). ISTs are executed on a multithreaded microcontroller that supports multiple concurrently executing ISTs. ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012